home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 2 / CU Amiga Magazine's Super CD-ROM 02 (1996)(EMAP Images)(GB)[!][issue 1996-04].iso / magazine / amiga_e / makeefile_and_src / makeefile / readme < prev    next >
Text File  |  1994-04-20  |  3KB  |  89 lines

  1.  
  2.     MakeEFile
  3.     ¯¯¯¯¯¯¯¯¯
  4.  
  5.  
  6.     This program allow you to compile a E source just by clicking an icon
  7.     in which, you'll set some tooltypes.
  8.  
  9.     When you write a new project, preferably make first a new dir for it,
  10.     where you'll put your E sources about this new project.
  11.  
  12.     To make MakeEFile usable, you may place it in a used path (eg. C:).
  13.  
  14.     Make a copy of the icon of MakeEFile, be sure that it is a Tool icon,
  15.     and put it in your new project drawer.
  16.  
  17.     Write your E source(s) and store it(them) in this drawer.
  18.  
  19.  
  20.     Now, let's set up the tooltypes:
  21.  
  22.     NAME    this is the name of your final project (myProg),
  23.         if not defined MakeEFile will tell it you and break.
  24.     EPP    a flag which say that the project have EPP modules to load.
  25.         default is NO
  26.     EPPDIR    is only use if EPP=YES, and tells where EPP is (C:EPP).
  27.         default is "E:EPP/bin/EPP".
  28.     ECDIR    tells where EC is (C:EC).
  29.         default is "E:v39_emodules/Bin/EC21b_v39".
  30.  
  31.  
  32.     I add a string version builder, which will be in the executable.
  33.  
  34.     VERSION    the version number for your project, default 1
  35.  
  36.     MakeEFile incremente and save the revision number each time you run it
  37.     for your project (this is the normal way how to use the revision number)
  38.  
  39.     REVPATH    tells where this file is, default is 'revision'. If MakeEFile
  40.         can't found the defined one, the default setting be will used.
  41.  
  42.     AUTHOR    additive note of the author, which will be placed after the
  43.         date in the version string. Generaly, this is the author's name,
  44.         and in what langage the project was write. default is no
  45.         author's string.
  46.  
  47.     So the version string will look like:
  48.  
  49.     '$VER: MyProg <version>.<revision> (<date>) <author's string>',10,13,0
  50.  
  51.     If you use KCommodity (from DP) the date will take first from the
  52.     ENV:DATE, or if this file is not found, the date will take from the
  53.     System and formated as dd.mm.yy.
  54.  
  55.     WINDOW    this last ToolType is used if you want to have the messages
  56.         from EPP and EC in your own output window instead of E
  57.         default one.
  58.         default is E window.
  59.  
  60.  
  61.     Note:    In the source of MakeEFile you can change the default setting of
  62.         EPPDIR & ECDIR if the default settings don't please you.
  63.         Don't touch to other please.
  64.  
  65.  
  66.     Now, to compile your project, just run the MakeEFile icon by a double-
  67.     click on it, and you project will be compile (and preprocessed
  68.     eventualy). Revision number is automaticaly updated for each compilation.
  69.  
  70.  
  71.     NOTE:    I have noticed, after the compilation is finished, if you type
  72.         in the output window RETURN, you'll find this window usable
  73.         as a new shell. It's not a bug from me, cause i've tried with
  74.         the E default con and the same thing appends. This surprise
  75.         is cause by the Execute() dos function. I don't know why and
  76.         i don't know if it's a bug or wanted.
  77.         Clock on the close gadget will end this newshell. As the Shell
  78.         does.
  79.  
  80.     Test it by clicking the MakeEFile icon, MakeEFile will compile itself!
  81.  
  82.  
  83.  
  84.     'It's more fun to compute'
  85.                 KraftWerk (computer world)
  86.  
  87.  
  88.         Frantz
  89.